<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %><%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2019/12/19
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>

<%--
  include动作元素与指令元素的区别
  <jsp:page="" flush="" />此动作元素会生成两个servelt即,该文件与page对应的jsp文件
  而<%@include file="">指令元素会生成1个servelt,即servelt

   --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Date d=new Date();
    SimpleDateFormat sdf=new SimpleDateFormat("yyyy年MM月dd日");
    String s=sdf.format(d);

    out.print(s);
%>
